/*****************************************************************************/
/*     Copyright (C) 2003, Perot Systems Corporation. All right reserved.    */
/*****************************************************************************/
/* Developer: Randy Moos (randy.moos@ps.net)                                 */
/* Started:  03/04/2004                                                      */
/*****************************************************************************/
/* Modifications                                                             */
/* Date       |  Author          | Description                               */
/*------------+------------------+-------------------------------------------*/
/*            |                  |                                           */
/*****************************************************************************/
SET NOCOUNT OFF
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
SET ARITHABORT ON
SET CONCAT_NULL_YIELDS_NULL ON
SET QUOTED_IDENTIFIER ON
SET NUMERIC_ROUNDABORT OFF
GO

PRINT 'Creating table [DBO].[Messages]...'
GO
IF OBJECT_ID( 'Messages' ) IS NULL
BEGIN
	CREATE TABLE [DBO].[Messages] ( 
		[OID]       BIGINT IDENTITY( 1,1 ) NOT NULL,
		[Text]		VARCHAR( 1024 ) NOT NULL,
		timestamp	ROWVERSION,
		CONSTRAINT [PK_Messages] PRIMARY KEY([OID])
	)
END
GO
